﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ModelLayer;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISeatCtrl" in both code and config file together.
[ServiceContract]
public interface ISeatCtrl
{
	[OperationContract]
	int getColCountInRow(int roomId, int rowId);
	
	[OperationContract]
	int getRowCount(int roomId);
	
	[OperationContract]
	Seat addSeat(Room room, int row, int col);

	[OperationContract]
	void removeSeat(int id);

	[OperationContract]
	void upateSeat(int id, Room room, int row, int col);

	[OperationContract]
	Seat getSeat(int id);

	[OperationContract]
	Seat[] getSeats();

	[OperationContract]
	Seat[] getTakenSeats(int scheduleId);

	[OperationContract]
	Seat[] getSeatsByRoom(int id);
}
